package com.youku.mson.serializer;

public class StringSerializer implements JsonSerializer {

	@Override
	public void serialize(JsonWriter out, Object target) {
		if (target == null) {
			out.writeNull();
		} else {
			out.writeString(target);
		}
	}

}
